package syntaxtree;
import visitor.TranslateVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

/***/
public class VarDecl {
	/***/
	public int beginLine, endLine, beginColumn, endColumn;
	/***/
	public Type t;
	/***/
	public Identifier i;

	/**
	 * 
	 * */	
	public VarDecl(Type at, Identifier ai) {
	    t=at; 
	    i=ai;
	}
	
	/**
	 * 
	 * */
	public void accept(Visitor v) {
		v.visit(this);
	}
	
	/**
	 * 
	 * 
	 * */
	public Type accept(TypeVisitor v) {
		return v.visit(this);
	}
	
	/**
	 * 
	 * */
	public translate.activationRegister.util.Exp accept(TranslateVisitor v){
		  return v.visit(this);
	}
}
